﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OnlineMealOrdering.Common
{
    public class RolesDefinition
    {
        public const string WebSiteManagerRoleCode = "Management";
        public const string WebSiteManagerRoleName = "网站管理员";

        public const string ConsumerRoleCode = "Consumer";
        public const string ConsumerRoleName = "普通用户";

        public const string VIP1RoleCode = "Vip1";
        public const string VIP1RoleName = "1级会员";

        public const string Vip2RoleCode = "Vip2";
        public const string Vip2RoleName = "2级会员";

        public const string StoreOnlineRoleCode = "StoreOnline";
        public const string StoreOnlineRoleName = "商家";

        public static Dictionary<string, string> GetAllRolesDefinition()
        {
            return new Dictionary<string, string>() {
                {WebSiteManagerRoleCode,WebSiteManagerRoleName},
                {ConsumerRoleCode,ConsumerRoleName},
                {VIP1RoleCode,VIP1RoleName},
                {Vip2RoleCode,Vip2RoleName},
                {StoreOnlineRoleCode,StoreOnlineRoleName}
            };
        }

    }



    public class WebNoteType
    {
        public const string WebSiteNote = "WebNote";
        public const string OnlineNote = "OnlineNote";
        public const string OnlineDesc = "OnlineDesc";
    }

    public class StoreMark
    {
        public const string Hot = "火热";
        public const string HotImage = "Hot";

        public const string Tuijian = "特价";
        public const string TuijianImage = "Tuijian";

        public const string ZheKou = "折扣";
        public const string ZheKouImage = "ZheKou";

    }

    
}